﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WorkflowAttachments.ascx.cs" Inherits="DMS.Web.Common.Controls.WorkflowAttachments" %>

<%@ Register TagPrefix="DMS" Namespace="DMS.Business.WebControls" Assembly="DMS.Business" %>

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
    EnableModelValidation="True" CellPadding="1" 
    CssClass="dg_borderstyle" AlternatingRowStyle-CssClass="dg_alternatingitemstyle"
    RowStyle-CssClass="dg_itemstyle"
    onrowdeleting="GridView1_RowDeleting" 
    onrowdatabound="GridView1_RowDataBound" 
    onrowcommand="GridView1_RowCommand">
    <HeaderStyle CssClass="dg_headerstyle" />
    <Columns>
        <asp:TemplateField HeaderText="文件名">
            
            <ItemTemplate>
                <DMS:FileLink ID="FileLink1" runat="server"></DMS:FileLink>
            </ItemTemplate>
            
        </asp:TemplateField>
        <asp:BoundField DataField="CreatorName" HeaderText="上传者" />
        <asp:BoundField DataField="Created" HeaderText="上传时间" />
        <asp:TemplateField HeaderText="操作">
            
            <ItemTemplate>
                <asp:LinkButton ID="lbtnDelete" Text="删除" CommandName="Delete" runat="server"></asp:LinkButton>
            </ItemTemplate>
            
        </asp:TemplateField>
    </Columns>
    <EditRowStyle BackColor="#999999" />
    
    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
</asp:GridView>
